﻿@{
    //ViewData["Title"] = "Home Page";
    //dynamic xuanhuan = ViewData["XuanHuan"];
    ViewBag.Title = "笔趣阁";
}

<div class="row">
    <div class="col">
        <div class="card hot_content list">
            <div class="card-body">
                @foreach (var item in Model["Tops"])
                {
                    <div class="item">
                        <div class="image">
                            <a asp-action="Chapter" asp-route-id="@item.Id">
                                <img src="http://r.m.b5200.net/cover/aHR0cDovL3FpZGlhbi5xcGljLmNuL3FkYmltZy8zNDk1NzMvMTAwNDYwODczOC8xODA="
                                 alt="圣墟" width="120" height="150">
                            </a>
                        </div>
                        <div class="content">
                            <div class="content_header">
                                <div><a asp-action="Chapter" asp-route-id="@item.Id">@item.Title</a></div>
                                <div>@item.Author</div>
                            </div>

                            <div>
                                在破败中崛起，在寂灭中复苏。
                                <br>沧海成尘，雷电枯竭，那一缕幽雾又一次临近大地，世间的枷锁被打开了，一个全新的世界就此揭开神秘的一角……
                            </div>
                        </div>
                    </div>
                }



            </div>
        </div>
    </div>

</div>



<div class="row">
    <div class="col-9">
        <div class="card novelslist">
            <div class="card-body">

                <h2>好看的@(Model["Xiaoshuo"])最近更新列表</h2>
                <ul>
                    @foreach (var item in Model["Lastest"].Data)
                    {
                        <li>
                            <span class="s2">
                                《<a asp-action="Chapter" asp-route-id="@item.Id"
                                target="_blank">@item.Title</a>》
                            </span><span class="s3">
                                <a asp-action="Chapter" asp-route-id="@item.Id"
                               target="_blank">@item.LastChapter</a>(07-16)
                            </span><span class="s5">@item.Author</span>
                        </li>
                    }



                </ul>


                 <partial name="Pagination">


            </div>
        </div>
    </div>
    <div class="col-3">
        <div class="card novelslist hotlist">
            <div class="card-body">
                
                <h2>好看的@(Model["Xiaoshuo"])</h2>
                <ul>
                    @foreach (var item in Model["Hots"])
                    {
                        <li><div class="s2"><a asp-action="Chapter" asp-route-id="@item.Id">@item.Title</a></div><div class="s5">@item.Author</div></li>
                    }


                </ul>


            </div>
        </div>
    </div>
</div>
